<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>重复</title>
    <style>
        body {
            margin: 0;
            padding: 0;
        }
        #wrapper {
            margin-top: 200px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        #wrapper>div {
            width: 100px;
            height: 100px;
            margin: 30px;
            font-size: 16px;
        }
        #once {
            background: #fcc;
        }
        #fiveTimes {
            background: #cfc;
        }
        #infinity {
            background: #ccf;
        }
    </style>
    <script src="../RequestAnimationFrame.js"></script>
    <script src="../Tween.js"></script>
</head>
<body>
    <div id="wrapper">
        <div id="once" data-rotation="0">循环一次，共两次</div>
        <div id="fiveTimes" data-rotation="0">循环五次，共六次</div>
        <div id="infinity" data-rotation="0">无尽旋转</div>
    </div>
<script src="./index.js"></script>
</body>
</html>